import Vue from 'vue'
import VueRouter from 'vue-router'
import HoHo from '../views/HoHo.vue'
import LoLo from '../views/LoLo.vue'
import MoMo from '../views/MoMo.vue'
import ToTo from '../views/ToTo.vue'
import NotFound from '../views/NotFound.vue'
Vue.use(VueRouter)
const router = new VueRouter({
  routes: [
    {
      path: '/',
      redirect: '/hoho'
    },
    {
      path: '/hoho',
      component: HoHo
    },
    {
      path: '/lolo',
      component: LoLo
    },
    {
      path: '/momo',
      component: MoMo
    },
    {
      path: '/toto',
      component: ToTo
    },
    {
      path: '*',
      component: NotFound
    },
  ]
})
export default router